<?php
/**
 * Created by PhpStorm.
 * User: Da Xiong
 * Date: 2018/12/10
 * Time: 14:45
 */

namespace App\Http\Controllers;


use App\Models\Config;

class ConfigController extends Controller
{

    public function index(){
        return $this->returnJson(0,'');
    }
    /**
     * 获取分享主题图片
     */
    public function getShareImg(){
        $url = Config::where('name','share_img')->value('value');
        return $this->returnJson(0,'',$url);
    }
}